package com.duanjy.webtools2.util;

import java.net.URL;

public class TestClass {
	public static String  url = "http://127.0.0.1:53000/esbWS/rest/s2105Query";
	public static String contentype = "application/json";
	public static String parameter = "{\"ROOT\":{\"COMMON_INFO\":{\"TRACE_ID\":\"\",\"CALL_ID\":\"\",\"PROVINCE_GROUP\":\"10017\",\"SESSION_ID\":\"727NhnQXG8G63xpTb3fZzjDYNQwF541NPGgYvm0LgYTq66TyWm1q!2135010477!1512558711066\",\"SER_NAME\":\"\",\"ROUND_AUDIT\":\"Y\",\"DEST_IP\":\"152.55.249.125\",\"DEST_PORT\":\"11001\",\"SRC_PORT\":\"52443\",\"APP_NAME\":\"NGBOSS\",\"APP_ID\":\"2000\",\"FROM_SYS\":\"BOSS\",\"BAK2\":\"\"},\"REQUEST_INFO\":{\"OPR_INFO\":{\"REGION_ID\":\"21\",\"CHANNEL_TYPE\":\"431\",\"LOGIN_NO\":\"L00000SYS\",\"LOGIN_PWD\":\"fb0bdec823cf4cdb\",\"IP_ADDRESS\":\"10.153.238.230\",\"GROUP_ID\":\"121000000\",\"AUTHEN_CODE\":\"\",\"AUTHEN_NAME\":\"\",\"CONTACT_ID\":\"-1\",\"OP_CODE\":\"2105\"},\"BUSI_INFO_LIST\":{\"BUSI_INFO\":{\"OPTR_MODE\":\"1\",\"PHONE_NO\":\"\",\"UNIT_ID\":\"5512114676\",\"CUST_NAME\":\"\"}}}}}";
	
	public static void main(String[] args){
		CallInterfaceUtil call = new CallInterfaceUtil();
		call.httpClientPost(url, contentype, parameter);
	}
}	
